package com.ykq.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.ykq.pojo.Emp;
import com.ykq.vo.EmpVo;

import java.util.List;

/**
 * @program: vue_axios_ssm
 * @description:
 * @author: 闫克起
 * @create: 2023-05-10 10:44
 **/
public interface EmpService {
    public List<Emp> queryAll();

    int deleteById(Integer id);

    int save(Emp emp);

    int update(Emp emp);

    PageInfo<Emp> queryAll(Integer currentPage, Integer pageSize);

    PageInfo<Emp> queryAll(Integer currentPage, Integer pageSize, EmpVo empVo);
}
